#ifndef XDIVA_TYPEENTRYITEM_H
#define XDIVA_TYPEENTRYITEM_H

#include "PanelItem.h"

class AbstractManager;
class TypeVariablePanel;
class UnfoldButton;
class xMappingNode;
class WOP_Entry;
class TypeEntryFrameItem;

class TypeEntryItem
	:public PanelItem
{

public:

	TypeEntryItem(std::string, std::string, xMappingNode*, WOP_Entry*, AbstractManager*,TypeVariablePanel*,TypeEntryFrameItem* =0);
	~TypeEntryItem(void);
	WOP_Entry* getWOPEntry();
	void removeAllLinks();
	void remove();
	void unfold();

private:
	int _typeRectWidth;
	void setupPort();
	WOP_Entry* _wopEntry;
};

#endif
